[Setup]
AppName=Numeri+ Backup Services
AppVerName=Numeri+ Backup Services v1.5(Vista)
AppPublisher=Numeri+
AppPublisherURL=http://numeriplus.com/
AppSupportURL=http://numeriplus.com/
AppUpdatesURL=http://numeriplus.com/
DefaultDirName={pf}\NBS
DisableDirPage=yes
DefaultGroupName=Numeriplus
AllowNoIcons=no
OutputDir=C:\Users\Dimitri\Developpement\GoogleSVN\
OutputBaseFilename=Numeri+ Backup Services v1.5(Vista)
Compression=lzma
SolidCompression=yes


[Languages]
Name: "french"; MessagesFile: "compiler:Languages\French.isl"


[Files]
; images et langues
Source: C:\Users\Dimitri\Developpement\GoogleSVN\setup\img\*.*; DestDir: {app}\img; Flags: ignoreversion  recursesubdirs
Source: C:\Users\Dimitri\Developpement\GoogleSVN\setup\locale\*.*; DestDir: {app}\locale; Flags: ignoreversion  recursesubdirs

; executables
Source: C:\Users\Dimitri\Developpement\GoogleSVN\setup\bin\*.exe; DestDir: {app}\bin; Flags: ignoreversion
Source: C:\Users\Dimitri\Developpement\GoogleSVN\setup\*.exe; DestDir: {app}; Flags: ignoreversion

; librairies
Source: C:\Users\Dimitri\Developpement\GoogleSVN\setup\bin\*.dll; DestDir: {app}\bin; Flags: ignoreversion
Source: C:\Users\Dimitri\Developpement\GoogleSVN\setup\*.dll; DestDir: {app}; Flags: ignoreversion

; manifest
Source: C:\Users\Dimitri\Developpement\GoogleSVN\setup\*.manifest; DestDir: {app}; Flags: ignoreversion

; fichiers de conf
Source: C:\Users\Dimitri\Developpement\GoogleSVN\setup\conf\*.xml; DestDir: {app}\conf; Flags: ignoreversion
;Source: C:\Users\Dimitri\Developpement\GoogleSVN\setup\Conf_Rsync.xml; DestDir: {app}; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall

; documentation
;Source: C:\Users\Dimitri\Developpement\GoogleSVN\setup\*.pdf; DestDir: {app}; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files


[Icons]
Name: "{group}\{cm:UninstallProgram,Numeri+ Backup Services}"; Filename: "{uninstallexe}"
Name: "{group}\Manuel Utilisateur"; Filename: "{app}\Manuel_Utilisateur.pdf"
Name: "{commonstartup}\LancementNBS"; Filename: "{app}\NBSSurv.exe"; WorkingDir: "{app}"


[Dirs]
Name: {app}; Permissions: everyone-full


[UninstallRun]
Filename: "{app}\taskkill.exe"; Parameters: "/T /F /IM NBSSurv.exe"


[Run]
Filename: "{app}\NBSSurv.exe"; Description: "{cm:LaunchProgram,Numeri+ Backup Services}"; Flags: nowait postinstall skipifsilent
